python-idna: Add missing dependency on python(3)-codecs
authorDaniel Santos <[email protected]>
Wed, 24 Oct 2018 08:19:46 +0000 (03:19 -0500)
committerDaniel Santos <[email protected]>
Sat, 12 Jan 2019 06:53:04 +0000 (00:53 -0600)
This error is exposed when using python-minimal.

Signed-off-by: Daniel Santos <[email protected]>
lang/python/python-idna/Makefile

index 59130b03793e4cae56cbbaa3884863b4e3ba2cd8..894e39ee58836797acf7235874068e7c736f8511 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2015-2018 OpenWrt.org
+# Copyright (C) 2015-2019 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -36,14 +36,14 @@ endef
 define Package/python-idna
 $(call Package/python-idna/Default)
   TITLE:=python-idna
-  DEPENDS:=+PACKAGE_python-idna:python-light
+  DEPENDS:=+PACKAGE_python-idna:python-light +PACKAGE_python-idna:python-codecs
   VARIANT:=python
 endef
 
 define Package/python3-idna
 $(call Package/python-idna/Default)
   TITLE:=python3-idna
-  DEPENDS:=+PACKAGE_python3-idna:python3-light
+  DEPENDS:=+PACKAGE_python3-idna:python3-light +PACKAGE_python3-idna:python3-codecs
   VARIANT:=python3
 endef